package main

import (
	"fmt"
)

func main() {
	var str string = "hello厉害"
	fmt.Println(len(str))

	str2 := "ss北京11"
	for i := 0; i < len(str2); i++ {
		fmt.Printf("字符 = %c \n\n\n", str2[i])
	}
	r := []rune(str2) //切片
	for i := 0; i < len(r); i++ {
		fmt.Printf("字符 = %c \n", r[i])
	}
}
